function OghlDis=Euclidean (X,Xref)

OghlDis= sum((X-Xref).^2).^0.5;
